package com.aggregate.pay.weixin.support.client;

import com.aggregate.pay.weixin.bean.RefundData;
import com.aggregate.pay.weixin.bean.RefundResult;
import com.aggregate.pay.weixin.support.AbstractClient;
import com.aggregate.pay.weixin.support.Factory;
import com.aggregate.pay.weixin.support.Merch;

/**
 * 微信支付官方接口-申请退款
 * @author Moyq5
 * @date 2018年7月6日
 */
public class Refund extends AbstractClient<RefundData, RefundResult> {

	public Refund(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<RefundResult> getResultClass() {
		return RefundResult.class;
	}

	@Override
	protected String getApiPath() {
		return Factory.getConfig().serverPath() + "/secapi/pay/refund";
	}

}
